//package cn.wanda.bi.sunshine.platform.server.config;
//
//import org.springframework.context.annotation.Configuration;
//
//@Configuration  
//public class HiveDataSource {  
//
////	@Value("${hive.url}")
////	private String url;
////	@Value("${hive.driver-class-name}")
////	private String driverClassName;
////	@Value("${hive.username}")
////	private String username;
////	@Value("${hive.password}")
////	private String password;
//
////	@Bean(name = "hiveJdbcDataSource")
////	@Qualifier("hiveJdbcDataSource")
////	public DataSource dataSource() {
////		DruidDataSource dataSource = new DruidDataSource();
////		dataSource.setUrl(url);
////		dataSource.setDriverClassName(driverClassName);
////		dataSource.setUsername(username);
////		dataSource.setPassword(password);
////		return dataSource;
////	}
////
////	@Bean(name = "hiveJdbcTemplate")
////	public JdbcTemplate hiveJdbcTemplate(@Qualifier("hiveJdbcDataSource") DataSource dataSource) {
////		return new JdbcTemplate(dataSource);
////	}
//
//}  
